cmake_minimum_required( VERSION 2.8 )

# Boost is required for all C++ projects
set( AOS_BOOST_VERSION 		"1.50.0" )

set( Boost_ADDITIONAL_VERSIONS 	${AOS_BOOST_VERSION} )
set( Boost_USE_STATIC_LIBS        ON )
set( Boost_USE_MULTITHREADED      ON )
set( Boost_USE_STATIC_RUNTIME    OFF )

# use this if there is a problem
set( Boost_DEBUG        ON ) 

find_package( Boost COMPONENTS 
	date_time 
	filesystem 
	system 
	chrono
	thread
	program_options
	log
)

if( Boost_FOUND )
	message( STATUS "Boost was found." )
	include_directories( ${Boost_INCLUDE_DIRS} )
else()

	message( "Boost was NOT found!" )

endif()

# Add here project directories
add_subdirectory( ./utilcpp )
add_subdirectory( ./aoslcpp )
add_subdirectory( ./aosdesigner )
